from django.contrib import admin
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from community.views import LabelViewSet, ArticleViewSet, CommentViewSet

urlpatterns = [

]

route = DefaultRouter()
route.register('labels', LabelViewSet)
route.register('articles', ArticleViewSet)
route.register('comments', CommentViewSet)
urlpatterns+=route.urls